import { mergeRsbuildConfig } from "@rsbuild/core";
import { pluginImageCompress } from "@rsbuild/plugin-image-compress";
import rsbuildConfigBase from "./rsbuild.config.base";

export default mergeRsbuildConfig({
  mode: 'production',
  performance: {
   removeConsole: true,
   chunkSplit: {
    strategy: 'split-by-experience'
   } 
  },
  plugins: [pluginImageCompress()]
}, rsbuildConfigBase);